package com.santoker.user.service.dto.vo.auth;

import com.santoker.user.service.dto.vo.AbstractVo;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

@Data
public class LoginNameVo extends AbstractVo {

    @NotNull(message = "手机号码不能为空")
    @ApiModelProperty(value = "手机", required = true)
    private String userName;

    @NotNull(message = "设备id不能为空")
    @ApiModelProperty(value = "密码", required = true)
    private String password;
}
